package com.example.demo.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.example.demo.GenericDao;
import com.example.demo.model.SysRoleModel;
import com.example.demo.model.SysUserModel;

public interface UserDao extends GenericDao<SysUserModel,String>  {
	
	 

	List<SysUserModel> queryUserList();


	Page<SysUserModel> queryUserPage(int pageNum, int pageSize);


	List<SysUserModel> queryLoginName(String loginName);
	
	
	
}